<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'IndusDetail.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/biaoge.css"/>

  </head>
  
  <body> 
  <div style="margin-left: 250px; margin-top:70px;">
  <table cellspacing="6" id="mytable"> 
  <tr> 
    <td>工厂名字</td><td>工厂地址</td><td>工厂负责人</td><td>电话号码</td><td>邮箱</td>
    </tr> 
   <tr> 
  <td>${industry.industryName}</td>  <td>${industry.industryAddress}</td>   
   <td>${industry.industryprincipal}</td><td>${industry.industryTelephone}</td>    
   <td>${industry.industryEmail}</td> 
   </tr> 
 </table>
    此工厂默认分配所要生产的产品为：
    <c:forEach items="${zhuanlist2}" var="zhuan2">
    ${zhuan2.productName}
    </c:forEach><br><br><br>
    你可以重新选择此工厂默认生产产品，不过重现选择以后关于你选择的此产品其他工厂会相应改变:<br>
   <form action="updatemorenProduct" method="post">
     <c:forEach items="${zhuanlist1}" var="zhuan1">
    <input type="checkbox" name="chongxuanze" value="${zhuan1.productName}">${zhuan1.productName}
    </c:forEach><br>
    <input type="hidden" name="indusid" value="${industry.industryId}">  
    <input type="submit" value="确认修改">
    </form> 
    </div>
  </body>
</html>
